ActionController::Routing::Routes.draw do |map|
  map.namespace(:admin) do |admin|
    admin.resources 'users'
    admin.resources 'groups'
  end
  
  map.resources 'users'
  map.resources 'sessions'
  
  map.connect ':controller/:action/:id'
end
